package com.certapp.dao.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@EqualsAndHashCode
public class TbAccountInfo implements Serializable {

    public TbAccountInfo(String account) {
        super();
        this.account = account;
    }

    /**
     * init by account、accountPwd、roleId、description.
     */
    public TbAccountInfo(String account, String accountPwd, String description) {
        super();
        this.account = account;
        this.accountPwd = accountPwd;
        this.description = description;
    }

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.create_time
     *
     */
    private LocalDateTime createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.modify_time
     *
     */
    private LocalDateTime modifyTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.account
     *
     * @mbg.generated
     */
    private String account;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.account_pwd
     *
     * @mbg.generated
     */
    private String accountPwd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.login_fail_time
     *
     * @mbg.generated
     */
    private Integer loginFailTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.account_status
     *
     * @mbg.generated
     */
    private Integer accountStatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column tb_account_info.description
     *
     * @mbg.generated
     */
    private String description;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tb_account_info
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;
}
